package com.xiaoh.dormitoryrepairreportbackend.model.dto.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 更新请求
 */
@Data
@Schema(description = "更新请求")
public class UpdateRequest implements Serializable {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "ID不能为空")
    private Long id;

    private static final long serialVersionUID = 1L;
}
